package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.SubjectProductRelation;

import java.util.List;

/**
 * <p>
 * 专题商品关系表 服务类
 * </p>
 *
 * @author fukeke
 * @since 2022-11-11
 */
public interface ISubjectProductRelationService extends IService<SubjectProductRelation> {
    List<SubjectProductRelation> selectByProductId(Long productId);

    /**
     * 添加 专题和商品关系
     */
    void createCmsSubjectProductRelation(SubjectProductRelation cmsSubjectProductRelation);
}
